package com.lxyk.domain;

import com.lxyk.utils.StrDateUtils;
import lombok.Data;

import java.util.Date;

@Data
public class ClassTest {
    private Integer id;

    private Date testdate;

    private String stage;

    private Integer number;

    private Integer suspended;

    private Integer submissions;

    private Double average;

    private Double passrate;

    private Double submissionrate;

    private Integer totalscore = 100;

    private Integer cid;


    public String getTestdate() {
        return StrDateUtils.dateToStr(testdate);
    }
}